package com.complex.spring.advance.service.annotation;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("bean/spring-autowire.xml");
		TestAutowireB testAutowireB = (TestAutowireB)context.getBean("testAutowireB");
		testAutowireB.print();
		
		TestJsr250Annotation jsr250 = (TestJsr250Annotation)context.getBean("testJsr250Annotation");
		jsr250.print();
		
		
	}
}
